package com.seari.mapper;

import com.seari.bean.ImgProgress;
import com.seari.bean.QueryProBean;
import com.seari.pojo.ProRatePojo;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ImgProgressMapper {
    List<ImgProgress> imgProgressInit(ImgProgress imgProgress);
    int imgProgressNumCount(ImgProgress imgProgress);

    List<String> queryCapDeviationByProid(@Param("proId") String proId);

    List<String> queryCapRemarkByProid(@Param("proId") String proId);

    List<String> queryInvDeviationByProid(@Param("proId") String proId);

    List<String> queryInvMeasuresByProid(@Param("proId") String proId);
    
	/**
	 * @param queryProBean
	 * @return
	 * 	形象进度合同页
	 */
	List<ProRatePojo> queryRateConByProid(QueryProBean queryProBean);
	/**
	 * @param string
	 * @return
	 *  获取合同下子节点
	 */
	List<ProRatePojo> queryTemplateByConid(QueryProBean queryProBean);
	
	/**
	 * @param conTemplateId 
	 * @return
	 * 计划
	 */
	Double getPriceByConTemplateId(@Param("conTemplateId")String conTemplateId);
	/**
	 * @return
	 * 实际
	 */
	Double getMoneyByConTemplateId(@Param("conTemplateId")String conTemplateId);
	/**
	 * @param queryProBean
	 * @return
	 * 投资模板下子节点
	 */
	List<ProRatePojo> queryTemplateByTemid(QueryProBean queryProBean);
}
